#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time:2020/10/31 7:12 下午
# @Author:boyizhang
from fastapi import FastAPI
from app import main as appmain

app = FastAPI()
app.include_router(
    appmain.router,
    prefix='/api/v1'
)
@app.get("/")
def ping():
    return 'hello'
